﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Li.Service.IService
{
    public interface IBaseService<T> where T:class,new ()
    {
        IQueryable<T> GetAll();
        void Add(T entity);
        void Delete(T entity);
        void RemoveRange(List<T> all);
        int Commit();
    }
}
